#define _CRT_SECURE_NO_WARNINGS 1
#include"SingleList.h"

SLNode*  pList = NULL;

int main()
{
	/*SLTPushBack(&pList, 1);
	SLTPushBack(&pList, 2);
	SLTPushBack(&pList, 3);
	SLTPushBack(&pList, 4);*/

	SLTPushFront(&pList, 1);
	SLTPushFront(&pList, 2);
	SLTPushFront(&pList, 3);
	SLTPushFront(&pList, 4);

	//SLTPopBack(&pList);
	//SLTPrint(pList);
	//SLTPopBack(&pList);
	//SLTPrint(pList);
	//SLTPopBack(&pList);
	//SLTPrint(pList);
	//SLTPopBack(&pList);
	//SLTPrint(pList);
	SLTPrint(pList);
	SLTPopFront(&pList);
	SLTPrint(pList);
	SLTPopFront(&pList);
	SLTPrint(pList);
	SLTPopFront(&pList);
	SLTPrint(pList);
	SLTPopFront(&pList);
	SLTPrint(pList);
}